public class ObjCourse{
   private String id=null, name=null, desc=null;
   private int unit;
   
   ObjCourse(){}
   ObjCourse(String id, String name, String desc){
      this.id = id;
      this.name = name;
      this.desc = desc;
      this.unit = -1;
   }
   /** setters */
   public void setId(String id)    { this.id = id; }
   public void setName(String name){ this.name = name; }
   public void setDesc(String desc){ this.desc = desc; }
   public void setUnit(int n){ this.unit = n; }
   /** getters */
   public String getId(){ return this.id; }
   public String getName(){ return this.name; }
   public String getDesc(){ return this.desc; }
   public int getUnit(){ return this.unit; }
   
}